
<script src="/assets/libs/jquery/dist/jquery.min.js"  type="text/javascript"></script>
<form action="" method="POST" enctype="multipart/form-data" class="form-horizontal form-ajax" id="edit-form" role="form" data-toggle="validator">
<input type="hidden" id="row-path" name="row[path]" value=""/>

{:token()}


	
    <div class="form-group">
        <label for="c-imagewidth" class="control-label col-xs-12 col-sm-2">父类:</label>
        <div class="col-xs-12 col-sm-8">
            {$ctitle}
			<input type="hidden" name="row[cid]" value="{$cid}" />
        </div>
    </div>

    <div class="form-group">
        <label for="c-imageheight" class="control-label col-xs-12 col-sm-2">名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[title]" value="{$row.title ?? ''}"   class="form-control" required />
        </div>
    </div>
	
    <div class="form-group">
        <label for="c-imageheight" class="control-label col-xs-12 col-sm-2">字段:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[fname]" value="{$row.fname ?? ''}"   class="form-control" required />
        </div>
    </div>
	
    <div class="form-group">
        <label for="c-imageheight" class="control-label col-xs-12 col-sm-2">排序:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="row[porder]" value="{$row.porder ?? ''}"  class="form-control" required />
        </div>
    </div>


	
    <div class="form-group {if $cid==0}layer-footer{/if}">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed ">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
